from datetime import datetime, date, time

from common import constants
from common.util import Util

if __name__ == '__main__':
    print(Util.get_time_gap(datetime.today()))
    print(Util.calculate_elapsed_time(datetime.today(), datetime(2025, 6, 6)))
    print(Util.date_in_days(date(2025, 3, 6), 50))
    print(Util.in_time_interval(time(10, 10, 0), time(10, 50, 0)))
    print(Util.time_format_match("09:56"))
    print(Util.get_local_ip())
    print(Util.find_project_root())
    print(Util.unified_static_path(constants.LOG_SAVE_DIRECTORY))
    print(Util.get_data_path())
